//@flow

/**
 * 登陆页面 icon显示
 */
import React, { Component } from 'react';
import { 
    View,
    Text,
    Image,
    ViewStyle,
 } from 'react-native';
import { safeAreaHOC } from '../../base/safeAreaHOC';

type Props  = {
    img     :any,
    style   :ViewStyle,
}

@safeAreaHOC
export class IconHeader extends Component <Props,{}>{
    render(){
        return(
            <View style={[{
                width:'100%',
                height:200,
                alignItems:'center',
                justifyContent:'center',
            },{...this.props.style}]}>
                <Image style={{width:100,height:100,borderRadius:10,backgroundColor: 'white'}} />
            </View>
        )
    }
}